package com.bluedot.www.framework.ibatis.mybaits.executor;


import com.bluedot.www.framework.ibatis.mybaits.confiuration.Mapper;

import java.util.List;

/**
 * sql执行器接口
 *
 * @author GUOZHIPENG
 * @version 1.0
 * @date 2021/8/9 19:36
 */
public interface Executor {
    <E> List<E> query(Mapper mapper, Object[] parameter);

    void close();

    int update(Mapper mapper, Object[] parameter);
}
